package cn.bb.springboothello;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
/*
* springboot整合filter方式1
* */
@SpringBootApplication
@ServletComponentScan   //springboot在启动时会扫描@webServlet,并将该类实例化

public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}

}

